﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage1.master" AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="Default2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="featured">
	<h3>Những dịch vụ, địa điểm mới nhất</h3>
	</div>
    <ul>
        <asp:DataList ID="DataList1" runat="server" RepeatColumns="3" 
            onitemcommand="DataList1_ItemCommand">
            <ItemTemplate>
                <li>
  	                <asp:ImageButton ID="ImageButton2" runat="server" 
	                    CommandArgument='<%# Eval("MaDV") %>' CommandName="MaDV" 
	                    ImageUrl='<%# Eval("ThumbNail") %>' />
                    <span class="price">
                        <asp:Label ID="LikeLabel" runat="server" Text='<%# Eval("countLike") %>'></asp:Label> <br>
                        <asp:Label ID="DisLikeLabel" runat="server" 
                        Text='<%# Eval("countDisLike") %>'></asp:Label> </span> <a href="shop.html" class="cart">Add to Cart</a>
					<p>
                        <asp:Label ID="TenDVLabel" runat="server" Text='<%# Eval("TenDV") %>'></asp:Label><span class="manufacturer">
                            <asp:Label ID="MoTaLabel" runat="server" Text='<%# Eval("MoTaTomTat") %>'></asp:Label></span> 
                            <span class="remarks">
                                <asp:LinkButton ID="LinkButton1" runat="server" 
                            CommandArgument='<%# Eval("MaDV") %>' CommandName="MaDV">Xem chi tiết...</asp:LinkButton>
                            </span>
                        
					</p>
				</li>
            </ItemTemplate>
        </asp:DataList>
    </ul>

    <div id="featured">
	<h3>Những dịch vụ, địa điểm có hệ số like cao nhất</h3>
	</div>
    <ul>
        <asp:DataList ID="DataList2" runat="server" RepeatColumns="3" 
            onitemcommand="DataList1_ItemCommand">
            <ItemTemplate>
                <li>
  	                <asp:ImageButton ID="ImageButton2" runat="server" 
	                    CommandArgument='<%# Eval("MaDV") %>' CommandName="MaDV" 
	                    ImageUrl='<%# Eval("ThumbNail") %>' />
                    <span class="price">
                        <asp:Label ID="LikeLabel" runat="server" Text='<%# Eval("countLike") %>'></asp:Label> <br>
                        <asp:Label ID="DisLikeLabel" runat="server" 
                        Text='<%# Eval("countDisLike") %>'></asp:Label> </span> <a href="shop.html" class="cart">Add to Cart</a>
					<p>
                        <asp:Label ID="TenDVLabel" runat="server" Text='<%# Eval("TenDV") %>'></asp:Label><span class="manufacturer">
                            <asp:Label ID="MoTaLabel" runat="server" Text='<%# Eval("MoTaTomTat") %>'></asp:Label></span> 
                            <span class="remarks">
                                <asp:LinkButton ID="LinkButton1" runat="server" 
                            CommandArgument='<%# Eval("MaDV") %>' CommandName="MaDV">Xem chi tiết...</asp:LinkButton>
                            </span>
                        
					</p>
				</li>
            </ItemTemplate>
        </asp:DataList>
    </ul>
</asp:Content>

